package com.meida.module.bus.provider.utils;

import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
import com.meida.common.utils.FlymeUtils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class MyFlymeUtils extends FlymeUtils {
    public static List<String> stringToList(String str) {
        List<String> list = new ArrayList<>();
        if (ObjectUtils.isNotEmpty(str)) {
            String[] temp = str.split(",");
            list = Arrays.asList(temp);
        }
        return list;
    }
}
